using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace WPCoco.Specialized
{
    public class ListViewItem : LocalizedNode
    {
        public int Identation { get; set; }

        ListViewLayer listView;

        public ListViewLayer ListView
        {
            get { return listView; }
            set { listView = value; }
        }

        public override void Draw(GameTime gameTime)
        {
            if (listView == null || !listView.IsItemViewed(this)) return;
            base.Draw(gameTime);
        }
        
    }
}
